# -*- coding: utf-8 -*-
from datetime import timedelta
from airflow.operators.bash import BashOperator
from jms.time_sensor.time_after_08_10 import time_after_08_10

jms_oracle__dwm_app_target_network_sum_day_dt = BashOperator(
    task_id='jms_oracle__dwm_app_target_network_sum_day_dt',
    execution_timeout=timedelta(hours=2),
    email=['suning@jtexpress.com','yl_bigdata@yl-scm.com'],
    bash_command="jms/oracle/dwm_app_target_network_sum_day_dt/execute.sh",
    pool='spmi_apack',
    retries=1,
    pool_slots=2,
)

jms_oracle__dwm_app_target_network_sum_day_dt << [time_after_08_10]